package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

/**
 * 销售单位管理
 *
 * @author wf
 * @date 2019-01-01$
 **/
@Table(name = "sys_company")
public class SysCompany extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "uuid", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String uuid;
    @Column(name = "company_name", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String companyName;
    @Column(name = "company_address", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String companyAddress;//公司地址
    @Column(name = "corporation", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String corporation;//法人
    @Column(name = "phony_number", type = MySqlTypeConstant.VARCHAR, length = 100)
    private String phonyNumber;//联系电话
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getPhonyNumber() {
        return phonyNumber;
    }

    public void setPhonyNumber(String phonyNumber) {
        this.phonyNumber = phonyNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }
}
